<?php
	if(isset($success) && !empty($success))
	{
		echo '<div class="alert alert-success">'.$success.'</div>';
	}
?>
<p>								
	<button type="button" class="btn btn-lg btn-success" onClick="document.getElementById('my_form').submit()">Import Data</button>				
</p>
			  
<!-- Input file .xls to update data -->
<form role="form" method="post" enctype="multipart/form-data" id="my_form" action="<?=base_url('import/process') ?>">
  <div class="form-group">
	<label for="exampleInputFile">Input xls</label>
	<input type="file" id="exampleInputFile" name="file">
	<input type="hidden" name="to_make_it_works">
	<p class="help-block">* Only .xls file is available</p>
  </div>				  
</form>